/*
 * @Author: 谢小康 2170673706@qq.com
 * @Date: 2024-01-30 20:24:28
 * @LastEditors: 谢小康 2170673706@qq.com
 * @LastEditTime: 2024-01-30 20:24:36
 * @FilePath: \My-bolg\My_Blog\src\api\imglist.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import http from "./index.js"
/* 获取相册 */
const getaumble = async (data) => {
    return new Promise((resolve, reject) => {
        http.post("/api/photo/getaumble", data).then(res => {
            resolve(res)
        })
    })
}
/* 获取图片 */
const getPic = async (data)=>{
    return new Promise((resolve, reject) => {
       http.post("/api/photo/getPic",data).then(res=>{
           resolve(res)
       })
    })
}
export {
    getaumble,
    getPic
}